{% extends "base.html" %}
{% block body %}
<script>
    jQuery(window).load(function () {
        if (jQuery(window).width() > 480) {
            jQuery(".main-header").sticky({topSpacing: 0});
        } else {
            jQuery(".main-header nav").removeClass("navbar-fixed-top");
        }
        jQuery("#mar-right").sticky({topSpacing: 105, bottomSpacing: 410});
    });
</script>
<script type="text/javascript" src="/static/mathemes/prettify.js"></script>
<script type="text/javascript" src="/static/mathemes/lazyload.js"></script>
<script type="text/javascript" charset="utf-8">
    jQuery(function () {
        jQuery("img").lazyload({
            effect: "fadeIn"
        });
    });
</script>
<script type="text/javascript">
    window.onload = function () {
        prettyPrint();
    }
</script>
<script language="JavaScript" type="text/javascript">
    //<![CDATA[
    var va = "您已经点亮过了";
    function acv_vote(id, option, m, post_id) {
        if (m == null) m = '';
        m = m + '';
        jQuery('#acv_stat_' + m + id).html('Loading...');
        var url = "/?acv_ajax=true&option=" + option + "&ID=" + id +"&post_id="+ post_id;
        jQuery.get(url, function (d) {

            d = d.split('|');
                                                alert(d)
            return
            var s = '#acv_stat_' + m + d[0];
            var sele = '#cos_support-' + m + id
            var unsele = '#cos_unsupport-' + m + id

            var tpjs = 'javascript:alert(va)';

            jQuery(s).html(d[1]);
            jQuery(s).fadeOut(400, function () {
                jQuery(s).fadeIn();
            });

            if (d[2] == 1) {
                jQuery(sele).html(jQuery(sele).html() * 1 + 1);
            }
            if (d[2] == -1) {
                jQuery(unsele).html(jQuery(unsele).html() * 1 + 1);
            }

            jQuery('#vote4-' + id).attr('href', tpjs);
            jQuery('#vote4-2' + id).attr('href', tpjs);
            jQuery('#votea-' + id).attr('href', tpjs);
            jQuery('#votea-2' + id).attr('href', tpjs);

        });
    }

    //]]>
</script>
<div class="container pad-top35">
    <div class="row clearfix">
        <div class="col-md-9">
            <div class="article-wrap panel panel-default">
                <div class="articlecontent">
                    <div class="title">
                        <h2> {{article['title']}} </h2>

                        <div class="property">
                            <span class="name"><a href="/author/{{article['author_name']}}" title="由 {{article['author_name']}} 发布"
                                                  rel="author">{{article['author_name']}}</a></span>
                            <span class="icon-f"></span>
                            <span class="time">{{article['create']}}</span>
                            <img style="float: left;margin-top:2px;" title="金币奖励"
                                 src="http://image.3001.net/images/other/gold.png"/>
                            <span class="coin"><strong>+8</strong></span>

                            <span class="look">共<strong>{{article['looks']}}</strong>人围观</span>
		  <span class="tags">
		  <a href="/?cid={{article['cid']}}">{{article['cname']}}</a></span>
                            <span class="tags_01"></span>
                        </div>
                    </div>
                    <div id="contenttxt">

                        {% raw article['content'] %}
                    </div>
                    <div class="article-oper">
                        <!-- Baidu Button BEGIN -->
                        <div class="share float-l">
                            <div class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more"></a>
                                <a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a>
                                <a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a>
                                <a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a>
                            </div>
                            <script>window._bd_share_config = {
                                "common": {
                                    "bdSnsKey": {},
                                    "bdText": "",
                                    "bdMini": "2",
                                    "bdMiniList": ["mshare", "qzone", "tsina", "weixin", "renren", "tqq", "douban", "bdhome", "hi", "youdao", "xg", "fbook", "twi", "deli", "linkedin", "copy", "print"],
                                    "bdPic": "",
                                    "bdStyle": "1",
                                    "bdSize": "24"
                                }, "share": {}
                            };
                            with (document)0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)];</script>
                        </div>
                        <!-- Baidu Button END -->
                        <div class="statement">
                            <div class="but-col">
                                <span class='wpfp-span'>
                                    <img src='/static/mathemes/heart.png' alt='Favorite' title='Favorite' class='wpfp-img'/>
                                    <img src='/static/mathemes/loading.gif' alt='Loading' title='Loading' class='wpfp-hide wpfp-img'/>

                                    {% if isFavortie == False %}
                                    <a class='wpfp-link' href='/user/favorites?wpfpaction=add&amp;postid={{article["_id"]}}' title='收藏该文' rel='nofollow'>收藏该文</a>
                                    {% else %}
                                    <a class='wpfp-link' href='/user/favorites?wpfpaction=remove&amp;postid={{article["_id"]}}' title='删除收藏' rel='nofollow'>删除收藏</a>
                                    {% end %}
                                </span>
                            </div>
                            <a href="/user/pm?pmaction=newmessage&to=FB%E5%AE%A2%E6%9C%8D" class="btn btn-default" target="_blank">文章纠正</a>
                        </div>
                        <span class="score float-r"></span>
                    </div>
                    <div class=" panel panel-default author-info">
                        <div class="author-detial">
                            <div class="user_photo"><img
                                    src="http://www.freebuf.com/buf/plugins/wp-user-avatar/images/wp-user-avatar-96x96.png"
                                    width="50" height="50" alt=""
                                    class="avatar avatar-50 wp-user-avatar wp-user-avatar-50 photo avatar-default"/>
                            </div>
                            <p>
                            <span class="name">
                                <a href="/author/{{article['author_name']}}" title="由 {{article['author_name']}} 发布" rel="author">{{article['author_name']}}</a>
                            </span>
                                <span class="icon-f"></span>
                                <span><i class="colour-red">10</i>篇文章</span>
                                <span>等级：<i class="colour-green">4</i>级</span>
                            </p>

                            <p>这家伙太懒，还未填写个人描述！</p>
                        </div>
                        <div class="but">
                            <!--<a href="/author/?author=简单" class="btn btn-default btn-home">个人主页</a>-->
                            <!--<a href="http://www.freebuf.com/user/pm?pmaction=newmessage&to=简单" class="btn btn-default btn-letter">发私信</a>-->
                        </div>
                    </div>
                    <div class="article-pager">
                        <ul>
                            <!--<li class="previous"><span>上一篇：</span><a href="http://www.freebuf.com/news/76231.html" rel="prev">一个针对中国用户的安卓木马</a>			</li>-->
                            <!--<li class="next"><span>下一篇：</span>-->
                            <!--<a href="http://www.freebuf.com/news/76288.html" rel="next">19岁黑客因DDoS英国政府与FBI网站，面临监禁</a>			</li>-->
                        </ul>
                    </div>
                </div>
            </div>
            <!--<div class="comment-bright">-->
                <!--<div class="main-tit04">-->
                    <!--<h3>这些评论亮了</h3>-->
                <!--</div>-->
                <!--<ul>-->
                    <!--<li>-->
                        <!--<div class="user_photo"><a href="http://www.freebuf.com/author/54321">-->
                            <!--<img src="http://www.freebuf.com/buf/plugins/wp-user-avatar/images/wp-user-avatar-96x96.png"-->
                                 <!--width="58" height="58"/></a>-->
                        <!--</div>-->
                        <!--<div class="tit"><span class="name"> <a href="http://www.freebuf.com/author/54321"-->
                                                                <!--target="_blank">54321</a>  </span>-->
                            <!--<span class="icon-f">  </span>-->
                            <!--<span class="rank">(1级)</span>-->
                            <!--<span class="explain"></span>-->
                            <!--<span class="reply"><a-->
                                    <!--onclick="return addComment.moveForm( 'comment-','', 'respond','76230' ) "-->
                                    <!--href="?replytocom=#respond" class="comment-reply-link" rel="nofollow">回复</a></span>-->
                        <!--</div>-->
                        <!--<div class="txt">-->
                            <!--“我平时穿的衣服是没有空间可以隐藏工具的，所以安检人员也不会对我产生怀疑。”-->
                        <!--</div>-->
                        <!--<div class="but"><span class="vote-count">)</span><span style="none" id="cos_support-2122265"-->
                                                                                <!--class="vote-count">8</span><span-->
                                <!--class="vote-count">(</span><span class="vote">  <a class="ilike_icon" id="vote4-2122265"-->
                                                                                   <!--href="javascript:acv_vote(122265,1,2);">亮了</a></span>-->
                        <!--</div>-->
                    <!--</li>-->
                    <!--<li>-->
                        <!--<div class="user_photo"><a href="http://www.freebuf.com/author/taylorwin">-->
                            <!--<img src="http://www.freebuf.com/buf/plugins/wp-user-avatar/images/wp-user-avatar-96x96.png"-->
                                 <!--width="58" height="58"/></a>-->
                        <!--</div>-->
                        <!--<div class="tit"><span class="name"> <a href="http://www.freebuf.com/author/taylorwin"-->
                                                                <!--target="_blank">taylorwin</a>  </span>-->
                            <!--<span class="icon-f">  </span>-->
                            <!--<span class="rank">(4级)</span>-->
                            <!--<span class="explain"></span>-->
                            <!--<span class="reply"><a-->
                                    <!--onclick="return addComment.moveForm( 'comment-','', 'respond','76230' ) "-->
                                    <!--href="?replytocom=#respond" class="comment-reply-link" rel="nofollow">回复</a></span>-->
                        <!--</div>-->
                        <!--<div class="txt">-->
                            <!--身材不错-->
                        <!--</div>-->
                        <!--<div class="but"><span class="vote-count">)</span><span style="none" id="cos_support-2122282"-->
                                                                                <!--class="vote-count">8</span><span-->
                                <!--class="vote-count">(</span><span class="vote">  <a class="ilike_icon" id="vote4-2122282"-->
                                                                                   <!--href="javascript:acv_vote(122282,1,2);">亮了</a></span>-->
                        <!--</div>-->
                    <!--</li>-->
                    <!--<li>-->
                        <!--<div class="user_photo"><img src="http://image.3001.net/images/headimg/pic15.png"></div>-->
                        <!--<div class="tit"><span class="name"> c32 </span>-->
                            <!--<span class="explain"></span>-->
                            <!--<span class="reply"><a-->
                                    <!--onclick="return addComment.moveForm( 'comment-','', 'respond','76230' ) "-->
                                    <!--href="?replytocom=#respond" class="comment-reply-link" rel="nofollow">回复</a></span>-->
                        <!--</div>-->
                        <!--<div class="txt">-->
                            <!--原图地址：<br/>http://imgur.com/a/c4WNF<br/>原图地址：<br/>http://imgur.com/a/c4WNF<br/>原图地址：<br/>http://imgur.com/a/c4WNF<br/>原图地址：<br/>http://imgur.com/a/c4WNF<br/>呵呵了。大家给个赞。-->
                        <!--</div>-->
                        <!--<div class="but"><span class="vote-count">)</span><span style="none" id="cos_support-2122638"-->
                                                                                <!--class="vote-count">7</span><span-->
                                <!--class="vote-count">(</span><span class="vote">  <a class="ilike_icon" id="vote4-2122638"-->
                                                                                   <!--href="javascript:acv_vote(122638,1,2);">亮了</a></span>-->
                        <!--</div>-->
                    <!--</li>-->
                    <!--<li>-->
                        <!--<div class="user_photo"><img src="http://image.3001.net/images/headimg/pic4.png"></div>-->
                        <!--<div class="tit"><span class="name"> nsfocus123 </span>-->
                            <!--<span class="explain"></span>-->
                            <!--<span class="reply"><a-->
                                    <!--onclick="return addComment.moveForm( 'comment-','', 'respond','76230' ) "-->
                                    <!--href="?replytocom=#respond" class="comment-reply-link" rel="nofollow">回复</a></span>-->
                        <!--</div>-->
                        <!--<div class="txt">-->
                            <!--来一双-->
                        <!--</div>-->
                        <!--<div class="but"><span class="vote-count">)</span><span style="none" id="cos_support-2122262"-->
                                                                                <!--class="vote-count">7</span><span-->
                                <!--class="vote-count">(</span><span class="vote">  <a class="ilike_icon" id="vote4-2122262"-->
                                                                                   <!--href="javascript:acv_vote(122262,1,2);">亮了</a></span>-->
                        <!--</div>-->
                    <!--</li>-->
                    <!--<li>-->
                        <!--<div class="user_photo"><img src="http://image.3001.net/images/headimg/pic8.png"></div>-->
                        <!--<div class="tit"><span class="name"> MEisQ </span>-->
                            <!--<span class="explain"></span>-->
                            <!--<span class="reply"><a-->
                                    <!--onclick="return addComment.moveForm( 'comment-','', 'respond','76230' ) "-->
                                    <!--href="?replytocom=#respond" class="comment-reply-link" rel="nofollow">回复</a></span>-->
                        <!--</div>-->
                        <!--<div class="txt">-->
                            <!--<span class='hexie'>【UCCU 和谐 by FB客服w.w】</span></div>-->
                        <!--<div class="but"><span class="vote-count">)</span><span style="none" id="cos_support-2122519"-->
                                                                                <!--class="vote-count">7</span><span-->
                                <!--class="vote-count">(</span><span class="vote">  <a class="ilike_icon" id="vote4-2122519"-->
                                                                                   <!--href="javascript:acv_vote(122519,1,2);">亮了</a></span>-->
                        <!--</div>-->
                    <!--</li>-->
                <!--</ul>-->
            <!--</div>-->
            <div class="comment-list">
                <div class="main-tit02">
                    <a rel="nofollow" class="btnbtn-default btn-comment" href="#respond">发表评论</a>
                    <h3>已有 <span class="color_red">{{commentCount}}</span> 条评论</h3>
                </div>

                <ul>
                    {% for item in article['comment'] %}

                    <script>var post_id =  "{{ article['_id'] }}"</script>
                    <li class="comment even thread-even depth-1" id="li-comment-122262">
                        <div id="comment-item['id']">
                            <div class="photo"><img src="http://image.3001.net/images/headimg/pic13.png"></div>
                            <div class="tit">
                                <span class="name"> {{ article['author_name'] }} </span>
                                <span class="explain">  </span>
                                <span class="time">&nbsp;2015-08-27</span>
                                <span class="time"> </span>
                                <span class="useragent_output_custom"></span>
                                <span class="useragent_output_custom"></span>
                                <span class="reply">
                                    <!-- 正常情况 -->
                                   <a onclick="return addComment.moveForm('comment-{{item['id']}}', '{{item['id']}}', 'respond', '{{ article['_id'] }}' )" href="?replytocom={{item['id']}}#respond" class="comment-reply-link" rel="nofollow">回复</a>
                                </span>
                                <span class="floor">2楼</span>
                            </div>
                            <div class="txt">
                                <p class="useragent_output_custom"></p>
                                <p>{{item['text']}}</p>
                                <!--<div class="vote" id="vote-{{item['id']}}"><span id="acv_stat_{{item['id']}}"></span>-->
                                    <!--<a class="ilike_icon" id="vote4-{{item['id']}}" href="javascript:acv_vote('{{item['id']}}',1,'', '{{article['_id']}}');">亮了</a>(<span id="cos_support-{{item['id']}}">7</span>)-->
                                <!--</div>-->
                            </div>
                        </div>
                        <!-- .children -->
                    </li>
                    {% end %}
                </ul>

                <!--<div class="commentnav page01" style="padding-top:10px; text-align: center;">-->
                    <!--<span class='page-numbers current'>1</span>-->
                    <!--<a class='page-numbers' href='http://www.freebuf.com/news/76230.html/comment-page-2#comments'>2</a>-->
                    <!--<a class="next page-numbers" href="http://www.freebuf.com/news/76230.html/comment-page-2#comments">下一页</a>-->
                <!--</div>-->

                <script src="/static/mathemes/ajaxfileupload.js"
                        type="text/javascript"></script>
                <div id="respond" class="comment-box">
                    <input type="file" id="uploadUnit" name="upfile" class="hidden" value="">

                    <form action="http://www.freebuf.com/wp-comments-post.php" method="post" id="commentform">
                    <!--<form action="/comment" method="post" id="commentform">-->

                        {%module xsrf_form_html() %}

                        {% if current_user %}


                        <div class="user-logged text"><P class="name">欢迎 <a
                                href="http://www.freebuf.com/wp-admin/profile.php"><span
                                class="colour-red">{{current_user['uname']}}</span></a> 再次光临! <a
                                href="/user/logout&amp;redirect_to=http%3A%2F%2Fwww.freebuf.com%2Fnews%2F76230.html&amp;_wpnonce=b3ed9d0ff3"
                                title="换个马甲 &raquo;">退出 &raquo;</a></p>
                        </div>

                        {% else %}

                        <div id="comment-author-info">
                            <div class="login-other">
                              <div class="login_button login_icon_sina" title="使用新浪微博登陆" onclick="login_button_click('sina')"></div>
                              <div class="login_button login_icon_qq" title="使用腾讯QQ登陆" onclick="login_button_click('qq')"></div></div>
                            <div class="login-input">
                            <p>
                                <label for="author">昵称</label>
                                <input name="author" id="author" value="" size="14" tabindex="1" aria-required="true" placeholder="请输入昵称" required="" type="text">
                            </p>
                                <span>必须</span>
                                <span>您当前尚未登录。
                                    <a class="simplemodal-login" href="/user/login?redirect_to=http%3A%2F%2Ffreebuf.com%2Fnews%2F78329.html" title="登陆">登陆？</a>
                                    <a href="/user/reg?action=register" target="_blank">注册</a>
                                </span>
                            </div>
                            <div class="login-input">
                              <p><label for="email">邮箱</label><input name="email" id="email" value="" size="25" tabindex="2" aria-required="true" placeholder="请输入邮箱地址" required="" type="text"></p>
                            <span>必须（保密）</span>
                            </div>
                        </div>


                        {% end %}


                        <div id="test" class="post-area">
                            <div class="holiday"></div>
                            <div class="comment-editor">
                                <a id="comment-smiley" href="javascript:;">表情</a><a href="javascript:;" id="imageThumb">插图</a>
                            </div>
                            <div id="smileys">
                                <a title="mrgreen" href="javascript:grin(':mrgreen:')">
                                  <img src="http://image.3001.net/images/index/smilies/icon_mrgreen.gif"/>
                                </a>
                                <a title="razz" href="javascript:grin(':razz:')">
                                  <img src="http://image.3001.net/images/index/smilies/icon_razz.gif" />
                                </a>
                                <a title="sad" href="javascript:grin(':sad:')">
                                  <img src="http://image.3001.net/images/index/smilies/icon_sad.gif" />
                                </a>
                                <a title="smile" href="javascript:grin(':smile:')">
                                  <img src="http://image.3001.net/images/index/smilies/icon_smile.gif" />
                                </a>
                                <a title="oops" href="javascript:grin(':oops:')">
                                  <img src="http://image.3001.net/images/index/smilies/icon_redface.gif"/>
                                </a>
                                <a title="grin" href="javascript:grin(':grin:')">
                                  <img src="http://image.3001.net/images/index/smilies/icon_biggrin.gif"/>
                                </a>
                                <a title="eek" href="javascript:grin(':eek:')">
                                  <img src="http://image.3001.net/images/index/smilies/icon_surprised.gif"/>
                                </a>
                                <a title="???" href="javascript:grin(':???:')">
                                  <img src="http://image.3001.net/images/index/smilies/icon_confused.gif"/>
                                </a>
                                <a title="cool" href="javascript:grin(':cool:')">
                                  <img src="http://image.3001.net/images/index/smilies/icon_cool.gif" />
                                </a>
                                <a title="lol" href="javascript:grin(':lol:')">
                                  <img src="http://image.3001.net/images/index/smilies/icon_lol.gif" />
                                </a>
                                <a title="mad" href="javascript:grin(':mad:')">
                                  <img src="http://image.3001.net/images/index/smilies/icon_mad.gif" />
                                </a>
                                <a title="twisted" href="javascript:grin(':twisted:')">
                                  <img src="http://image.3001.net/images/index/smilies/icon_twisted.gif"/>
                                </a>
                                <a title="roll" href="javascript:grin(':roll:')">
                                  <img src="http://image.3001.net/images/index/smilies/icon_rolleyes.gif"/>
                                </a>
                                <a title="wink" href="javascript:grin(':wink:')">
                                  <img src="http://image.3001.net/images/index/smilies/icon_wink.gif" />
                                </a>
                                <a title="idea" href="javascript:grin(':idea:')">
                                  <img src="http://image.3001.net/images/index/smilies/icon_idea.gif" />
                                </a>
                                <a title="arrow" href="javascript:grin(':arrow:')">
                                  <img src="http://image.3001.net/images/index/smilies/icon_arrow.gif" />
                                </a>
                                <a title="neutral" href="javascript:grin(':neutral:')">
                                  <img src="http://image.3001.net/images/index/smilies/icon_neutral.gif"/>
                                </a>
                                <a title="cry" href="javascript:grin(':cry:')">
                                  <img src="http://image.3001.net/images/index/smilies/icon_cry.gif" />
                                </a>
                                <a title="?" href="javascript:grin(':?:')">
                                  <img src="http://image.3001.net/images/index/smilies/icon_question.gif"/>
                                </a>
                                <a title="evil" href="javascript:grin(':evil:')">
                                  <img src="http://image.3001.net/images/index/smilies/icon_evil.gif" />
                                </a>
                                <a title="shock" href="javascript:grin(':shock:')">
                                  <img src="http://image.3001.net/images/index/smilies/icon_eek.gif" />
                                </a>
                                <a title="!" href="javascript:grin(':!:')">
                                  <img src="http://image.3001.net/images/index/smilies/icon_exclaim.gif"/>
                                </a>
                            </div>

                            <textarea name="comment" id="comment" cols="100%" aria-required="true" rows="7" tabindex="4"
                                      style="overflow-x:hidden; overflow-y:hidden; border:0; width:100%;"
                                      onkeydown="if(event.ctrlKey&amp;&amp;event.keyCode==13){document.getElementById('submit').click();return false};"></textarea>
                        </div>
                        <div class="subcon but">
                            <input class="btn btn-success" type="submit" name="submit" id="submit" tabindex="5" value="提交评论(Ctrl+Enter)"/>
                            <a rel="nofollow" class="btn btn-default" id="cancel-comment-reply-link" href="javascript:;">取消</a>
                            <div class="checkbox">
                                <input type='hidden' name='comment_post_ID' value='{{article["_id"]}}' id='comment_post_ID'/>
                                <input type='hidden' name='comment_parent' id='comment_parent' value='0'/>
                                <label for="comment_mail_notify" class="comment_mail">
                                <!--<input type="checkbox" name="comment_mail_notify" id="comment_mail_notify" value="comment_mail_notify" checked="checked"/>有人回复时邮件通知我-->
                                </label>
                            </div>
                        </div>
                        <input name="Token" id="Token" type="hidden" value="fscmb3"/>
                    </form>
                </div>
            </div>

            <div class="commentshow">
                <div class="comments-loading">Loading...</div>
            </div>
            <script language="javascript">
                jQuery(document).ready(function ($) { //Begin jQuery
                    $('.reply').click(function () {
                        var atid = '"#' + $(this).parent().attr("id") + '"';
                        var atname = $(this).parent().find('span:first').text();
                        $("#comment").val("@" + atname + " ").focus();
                    });
                    $('.cancel-comment-reply a').click(function () { //点击取消回复评论清空评论框的内容
                        $("#comment").val('');
                    });
                })

                jQuery(document).ready(function ($) {
//                    alert($(this).attr('href'))
                    $body = (window.opera) ? (document.compatMode == "CSS1Compat" ? $('html') : $('body')) : $('html,body');//commentnav ajax
                    $(document).on('click', '.commentnav a', function (e) {
                        e.preventDefault();
                        $.ajax({
                            type: "GET",
                            url: $(this).attr('href'),
                            beforeSend: function () {
                                $('.commentnav').remove();
                                $('.comment-list').remove();
                                $('.comments-loading').slideDown();
                            },
                            dataType: "html",
                            success: function (out) {
                                result = $(out).find('.comment-list');
                                nextlink = $(out).find('.commentnav');
                                $('.comments-loading').slideUp(550);
                                $('.comments-loading').after(result.fadeIn(800));
                                $(".comment-list img").each(function () {
                                    var url = $(this).attr("data-original");
                                    $(this).attr("src", url);
                                })
                            }
                        });
                    });
                });
            </script>
        </div>
        <div class="col-md-3 visible-md-block visible-lg-block">

            <script type="text/javascript">
                var dispatch = function () {
                    q = document.getElementById("q");
                    if (q.value != "") {
                        window.open('/?s=' + q.value, "_blank");
                        return false;
                    } else {
                        return false;
                    }
                }
            </script>

            <div class="form-group has-active search-col search-in">
                <form id="hpsform-new" class="navbar-search navbar-form" onsubmit="return dispatch()">
                    <div class="form-group">
                        <input id="q" class="input form-control" type="text" placeholder="关键字查找" autocomplete="off"
                               title="关键字查找" name="q">
                        <button class="submit" onclick="INTEL_TYPE_AHEAD.onSubmitHps(' 关键字查找', '/content/www/cn/zh', 'zh_CN')" value="Search" type="submit">
                        </button>
                    </div>
                </form>
            </div>

            <div class="panel panel-default">
                <div class="read visible-md-block visible-lg-block">
                    <div class="main-tit02">
                        <h3>相关阅读</h3>
                    </div>
                    <ul></ul>
                    <ul>
                        <li><a href="http://www.freebuf.com/news/35641.html" target="_blank" title=走近世界上第一个地下黑市搜索引擎>走近世界上第一个地下黑市搜索引擎</a>
                        </li>

                        <li><a href="http://www.freebuf.com/news/8165.html" target="_blank" title=黑客利用Evernote帐号控制服务器>黑客利用Evernote帐号控制服务器</a>
                        </li>

                        <li><a href="http://www.freebuf.com/news/67235.html" target="_blank" title=由家用路由器构成的可“自我复制”僵尸网络>由家用路由器构成的可“自我复制”僵尸网络</a>
                        </li>

                        <li><a href="http://www.freebuf.com/news/19199.html" target="_blank" title=深度：震网病毒的秘密（二）>深度：震网病毒的秘密（二）</a>
                        </li>

                        <li><a href="http://www.freebuf.com/news/40164.html" target="_blank"
                               title=BlackHat会议上将演示如何利用机载WIFI劫持飞机>BlackHat会议上将演示如何利用机载WIFI劫持飞机</a></li>
                    </ul>
                </div>
            </div>
            <!--<div class="ad-wrap"><a href="http://www.ijiami.cn/?freebuf.com" target="_blank"><img width="100%" src="http://image.3001.net/images/20141201/14174039186901.jpg"></a></div>-->
            <div class="panel panel-default rec-spe">
                <div class="main-tit03 colour-blue">
                    <h3>特别推荐</h3>
                </div>
                <div class="rec-img">
                    <a href="http://security.tencent.com/" target="_blank"><img src="http://image.3001.net/images/index/tsrc.png"></a>
                </div>
            </div>
            <div id="mar-right">
                <!--<div class="read visible-lg-block">
                  <div class="main-tit04">
                    <h3>商城新品</h3>
                  </div>
                  <div id="slider" class="nivoSlider">  </div>
                </div>-->
                <div class="panel panel-default code">
                    <img src="http://image.3001.net/images/new/code.jpg" width="192" height="192">
                    <p>关注我们 分享每日精选文章</p>
                </div>
            </div>
        </div>
    </div>

    <!--<div class="row marvellous visible-lg-block">-->
        <!--<h3>不容错过</h3>-->
        <!--<ul>-->
            <!--<li><a href="http://www.freebuf.com/news/55300.html" rel="bookmark" title="磊科（NetCore）全系列路由器中的“疑似后门”程序">磊科（NetCore）全系列路由器中的“疑似后门”程序</a>-->

                <!--<p><span class="name"><a href="http://www.freebuf.com/author/%e5%a4%9c%e6%9c%aa%e5%a4%ae"-->
                                         <!--title="由 夜未央 发布" rel="author">夜未央</a></span>-->
                    <!--<span class="time">2014-12-31</span></p>-->
            <!--</li>-->
            <!--<li><a href="http://www.freebuf.com/vuls/66865.html" rel="bookmark" title="针对网页木马（CVE-2011-1260）的分析与实践">针对网页木马（CVE-2011-1260）的分析与实践</a>-->

                <!--<p><span class="name"><a href="http://www.freebuf.com/author/%e8%a1%80%e6%b1%a0%e6%91%87%e6%91%86"-->
                                         <!--title="由 血池摇摆 发布" rel="author">血池摇摆</a></span>-->
                    <!--<span class="time">2015-05-11</span></p>-->
            <!--</li>-->
            <!--<li><a href="http://www.freebuf.com/news/49983.html" rel="bookmark"-->
                   <!--title="计算机断网就安全了？空中旅行者（AirHopper）可实现无线电信号窃听">计算机断网就安全了？空中旅行者（AirHopper）可实现无线电信号窃听</a>-->

                <!--<p><span class="name"><a href="http://www.freebuf.com/author/cindy" title="由 cindy 发布" rel="author">cindy</a></span>-->
                    <!--<span class="time">2014-11-04</span></p>-->
            <!--</li>-->
            <!--<li><a href="http://www.freebuf.com/tools/74445.html" rel="bookmark" title="我是如何打造一款自动化SQL注入工具的">我是如何打造一款自动化SQL注入工具的</a>-->

                <!--<p><span class="name"><a-->
                        <!--href="http://www.freebuf.com/author/%e6%89%9b%e6%8a%8a%e5%ad%90%e9%a6%96%e5%b8%ad%e5%b0%8f%e5%bc%9f"-->
                        <!--title="由 扛把子首席小弟 发布" rel="author">扛把子首席小弟</a></span>-->
                    <!--<span class="time">2015-08-10</span></p>-->
            <!--</li>-->
        <!--</ul>-->
    <!--</div>-->
</div>
<script type="text/javascript">
    $(window).load(function () {
        $('#slider').nivoSlider();
    });
    $('#contenttxt img').wrap(function () {
        if (!$(this).parent().attr('href'))
            return '<a href="' + $(this).attr('data-original') + '" class="highslide-image" onclick="return hs.expand(this);" target="_blank"></a>';
    })
</script>
<script src="/static/mathemes/comments-ajax.js" type="text/javascript"></script>
<script type="text/javascript" src="/static/mathemes/jquery.nivo.slider.pack.js"></script>
{% end %}